<?php
	require_once('./application/models/zoekerModel.php');
	
	
	
	class item_zoeker extends item_abstract
	{
	
			private $myModel;

		protected function init()
		{
			$this -> information['zoeker_text'] = '';
			$this -> information['zoeker_type'] = '';
			$this -> myModel = zoekerModel::getInstance($this -> Db);	
		}	
		public function fill()
		{
			$this -> myModel -> getZoekerId($this);
		}
		public function update()
		{
			$this -> myModel -> updZoeker($this);
		}
		
		public function insert(){
		
			$this -> myModel -> addBericht($this);
		
		}
		
		
	}
?>